load("@rules_jvm_external//:defs.bzl", "artifact")
load("//java:defs.bzl", "java_library")

java_library(
    name = "router",
    srcs = glob(["*.java"]),
    visibility = [
        "//java/src/org/openqa/selenium/grid/commands:__subpackages__",
        "//java/src/org/openqa/selenium/grid/router:__subpackages__",
        "//java/test/org/openqa/selenium/grid:__subpackages__",
    ],
    exports = [
        "//java/src/org/openqa/selenium/status",
    ],
    deps = [
        "//java/src/org/openqa/selenium:core",
        "//java/src/org/openqa/selenium/concurrent",
        "//java/src/org/openqa/selenium/grid/data",
        "//java/src/org/openqa/selenium/grid/distributor",
        "//java/src/org/openqa/selenium/grid/sessionmap",
        "//java/src/org/openqa/selenium/grid/sessionqueue",
        "//java/src/org/openqa/selenium/grid/web",
        "//java/src/org/openqa/selenium/json",
        "//java/src/org/openqa/selenium/remote",
        "//java/src/org/openqa/selenium/status",
        artifact("com.google.guava:guava"),
    ],
)
